<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<body class="page-header-fixed">
<div class="form-group" style="margin: 0px;" id="merchantDailyAccoutingSerchModel">
		<div class="row">
			<label class="col-sm-2 control-label text-right" >合作商名称</label>
			<div class="col-sm-3">
				<div class="input-group">
					<select ng-options="merchant.merchantCode as merchant.name for merchant in merchantMap" 
									ng-model="dailySearchModel.merchantCode" class="form-control flexselect">
								<option value=""></option>
					</select> 
				 </div>
			</div> 
			<label class="col-sm-2 control-label text-right"  >开始日期</label>
			<div class="col-sm-2"> 
				<div class="input-group">
					<input class="form-control getTime bValidate" key="date" type="text"  ng-model="dailySearchModel.startDate"/>
				</div>
			</div>
			</div>
			 <div class="row">
			<label class="col-sm-2 control-label text-right" >出入合作商</label>
			<div class="col-sm-3">
				<div class="input-group">
					<select ng-options="merchant.merchantCode as merchant.name for merchant in merchantMap" 
									ng-model="dailySearchModel.merchantCode1" class="form-control flexselect">
								<option value=""></option>
					</select> 
				 </div>
			</div> 
			<label class="col-sm-2 control-label text-right"  >结束日期</label>
			<div class="col-sm-2"> 
				<div class="input-group"> 
					<input class="form-control getTime bValidate" 	key="date"	type="text" ng-model="dailySearchModel.endDate"/>
				</div>
			</div>
			<div class="col-sm-1">
				<div class="input-group">
					<button type="button" class="btn btn-primary"  ng-click="queryDailyAccounting()"  ><i class="fa "></i>查询</button>
				</div>
			</div>
		</div>
</div>

<hr />
<table class="table table-striped table-bordered table-hover"
		id="table_1">
		<thead>
			<tr>
				<th>合作商</th>
				<th>二级科目</th>
				<th>出入方</th>
				<th>借/贷</th>
				<th>金额</th>
				<th>日期</th>
			</tr>
		</thead>
		<tbody>
			<tr class="odd gradeX"
				ng-repeat="dailyAccount in dailyAccountingList  track by $index"
				on-loaded="{{$last}}" target-table="table_1">
				<td><span
					ng-bind="dailyAccount.merchantCode | getValueInArgFilter : merchantMap : 'name'"></span>
				</td>
					<td><span
					ng-bind="dailyAccount.subSubjectCode| getValueInArgFilter : subjectMap : 'subjectName'" ></span>
				</td>
				<td><span
					ng-bind="dailyAccount.merchantCode1 | getValueInArgFilter : merchantMap : 'name'" ></span>
				</td>
				<td><span ng-bind="dailyAccount.loanFlag | getValueInStaticFilter : 'loanFlagArray'"></span></td>
				<td ><my-span  amount="dailyAccount.amount" /></td>
				<!-- <td><span ng-bind="dailyAccount.amount | currency:'￥'" ></span></td> -->
				<td><span ng-bind="dailyAccount.accountingDate | date:'yyyy-MM-dd'"></span></td>
			</tr>
		</tbody>
	</table>
</body>
<script src="manageView/assets/scripts/public.js" type="text/javascript"></script>

</html>  